package com.chinatechstar.component.commons.constants;

/**
 * 智能生产管理常量
 *
 * @author Rei
 * @date 2021/4/14
 */
public final class ProdConstants {
    private ProdConstants() {
    }

    /**
     * 区块
     */
    public final static String AREA_ROOT_ID = "DGhnJENy6R";
    public final static String AREA_ID_FIELD = "areaId";
    public final static String AREA_PARENT_FIELD = "areaParentId";

    /**
     * 智能生产真假判断
     */
    public final static Boolean CONSTR_FALSE = false;
    public final static Boolean CONSTR_TRUE = true;
    /**
     * 接替井、在注井、已完成在注井(deprecated)
     */
    public final static int INJECT_WELL = 0;
    public final static int INJECTED_WELL = 1;
    public final static int COMPLETED_INJECTED_WELL = 2;
    /**
     * 注入完成情况
     */
    public final static int INJECT_UNFINISHED = 0;
    public final static int INJECT_FINISHED = 1;
    /**
     * 设备状态
     */
    public final static String STATUS_PLAN = "plan";
    public final static String STATUS_WAIT = "wait";
    public final static String STATUS_CONSTRUCTION = "construction";
    public final static String STATUS_FINISHED = "finished";
    /**
     * 注气吞吐施工曲线导入
     */
    public final static int CONSTR_RECORD_DATE = 0;
    public final static int CONSTR_RECORD_TIME = 1;
    public final static int CONSTR_INJECT_PRESSURE = 2;
    public final static int CONSTR_INSTANT_DSPL = 3;
    public final static int CONSTR_OIL_PRESSURE = 4;
    public final static int CONSTR_CASING_PRESSURE = 5;
    public final static int CONSTR_HOURLY_INJECT = 6;
    public final static int CONSTR_ACCUM_INJECT = 7;
    public final static int CONSTR_REMARK = 8;
    /**
     * 预警处理情况
     */
    public final static Boolean WARNING_UNHANDLED = false;
    public final static Boolean WARNING_HANDLED = true;
    /**
     * 统计注气吞吐实施——字典表值
     * IMPL_TYPE_LONG_STOP：长停井
     * IMPL_TYPE_SHUT_DIFFUSION：扩散井
     * IMPL_TYPE_IN_OPERATION：作业井
     */
    public final static String IMPL_TYPE_LONG_STOP = "long_stop";
    public final static String IMPL_TYPE_SHUT_DIFFUSION = "shut_diffusion";
    public final static String IMPL_TYPE_IN_OPERATION = "in_operation";

}
